#!/bin/bash

port=$1
if [ $port'x' = 'x' ];then
	echo '请输入端口'
	exit
fi
kill $(netstat -nlp | grep :$port | awk '{print $7}' | awk -F"/" '{ print $1 }')
